package com.tongji.showroom.model
{
	import com.adobe.serialization.json.JSON;
	
	import mx.collections.ArrayCollection;
	
	import org.robotlegs.mvcs.Actor;
	
	/**
	 * 
	 * @author jiarong
	 * 2011-10-31
	 *
	 */
	[Bindable]
	public class SystemSceneModel extends Actor
	{
		public var scene:String;
		public var sceneArr:ArrayCollection;
		public var getSceneArr:ArrayCollection;
		
		public function SystemSceneModel()
		{
			super();
		}
		
		public function updateScene(scene:String):void
		{
			this.scene = scene;
			var arr:Array = (JSON.decode(scene) as Array);
			sceneArr = new ArrayCollection(arr);
			getSceneArr = new ArrayCollection(sceneArr[0].VR_SceneList);
		}
	}
}